<?php 

class A{
	//static function one() {
	function one() {
		return "\n\nHello\n\n";
	}	
}

echo A::one(); 
// you are calling one as static method 


$obj = new A;
echo $obj->one();
